<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>显示部门信息</title>
	<script type="text/javascript">

    </script>
    <style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
</head>
<body>
<div>
			<table width="100%" border="1" cellspacing="0"
				style="text-align: left">
				<tbody>
					<tr>
						<td width="32" height="30" align="center" bgcolor="d3eaef" class="STYLE10">
							序号
						</td>
						<td height="30" align="center" bgcolor="d3eaef" class="STYLE10">
							部门名称
						</td>
						
						<td height="30" align="center" bgcolor="d3eaef" class="STYLE10">
							编辑操作
						</td>
						<td height="30" align="center" bgcolor="d3eaef" class="STYLE10">
							删除操作
						</td>
					</tr>
				</tbody>
				<tbody>
					<s:if test="sectionList != null && sectionList.size != 0">
					<s:iterator value="sectionList" var="item" status="no">
						<tr>
							<td height="30" align="center" bgcolor="#FFFFFF" class="STYLE19">
								<s:property value="#no.count" />
							</td>
							<td height="30" align="center" bgcolor="#FFFFFF" class="STYLE19"> 
								${item.sectionName}&nbsp;
							</td>
							
							<td width="80" height="30" align="center" bgcolor="#FFFFFF" class="STYLE19">
								<a href="javascript:void(0);" onclick='location="toUpdateSection.action?sectionId=${item.sectionId}"'>修改 </a>
							</td>
							<td width="80" height="30" align="center" bgcolor="#FFFFFF" class="STYLE19">
								<a href="javascript:void(0);" onclick='location="toDeleteSection.action?sectionId=${item.sectionId}"'>删除 </a> &nbsp;
							</td>	
							
						</tr>
					</s:iterator>
					</s:if><s:else>
						<tr><td colspan="10">无记录</td></tr>
					</s:else>
				</tbody>
			</table>
		</div>
</body>
</html>